package com.cn.study002;

public class Exchange {

	public static void main(String[] args) {
		int a=10;
		int b=50;
		int temp;
		System.out.println("交换前 a="+a+"\tb="+b);
		temp=a;
		a=b;
		b=temp;
		System.out.println("交换后 a="+a+"\tb="+b);

	}

}
